<form class="layui-form layui-form-pane form-search" action="{:sysuri()}" onsubmit="return false" method="get" autocomplete="off">

    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('班级')}</label>
        <label class="layui-input-inline">
            <select class="layui-select" name="class_id">
                <option value=''>-- {:lang('全部')} --</option>
                {foreach $class_arr as $k=>$v}
                <option value="{$k}">{$v}</option>
                {/foreach}
            </select>
        </label>
    </div>
    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('课程')}</label>
        <label class="layui-input-inline">
            <select class="layui-select" name="task_id">
                <option value=''>-- {:lang('全部')} --</option>
                {foreach $task_arr as $k=>$v}

                <option value="{$k}">{$v}</option>
                {/foreach}
            </select>
        </label>
    </div>

    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('名字')}</label>
        <label class="layui-input-inline">
            <input name="user_name" value="{$get.user_name|default=''}" placeholder="{:lang('请输入名字')}" class="layui-input">
        </label>
    </div>

    <div class="layui-form-item layui-inline">
        <input type="hidden" name="type" value="{$type|default='index'}">
        <button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> {:lang('搜 索')}</button>
        <button class="layui-btn layui-btn-primary" type="reset">{:Lang("重 置")}</button>
    </div>

</form>